<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>
<div id="content">
<?php echo $content_top; ?>
	<div class="breadcrumb">
	<?php foreach ($breadcrumbs as $breadcrumb) { ?>
	<?php echo $breadcrumb['separator']; ?>
		<a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?>
		</a>
		<?php } ?>
	</div>
	<h1>
	<?php echo $heading_title; ?>
	</h1>
	<?php if ($success) { ?>
	<div class="success">
	<?php echo $success; ?>
	</div>
	<?php } ?>
	<?php if ($error_warning) { ?>
	<div class="warning">
	<?php echo $error_warning; ?>
	</div>
	<?php } ?>
	<h2>
	<?php echo $text_address_book; ?>
	</h2>
	<?php foreach ($addresses as $address) { ?>
	<div class="content">
		<table style="width: 100%;">
			<tr>
				<td><?php echo $entry_fullname; ?></td>
				<td><?php echo $address['fullname']; ?></td>
			</tr>
			<tr>
				<td><?php echo $entry_company; ?></td>
				<td><?php echo $address['company']; ?></td>
			</tr>
			<tr>
				<td><?php echo $entry_address_1; ?></td>
				<td><?php echo $address['address_1']; ?></td>
			</tr>
			<tr>
				<td><?php echo $entry_address_2; ?></td>
				<td><?php echo $address['address_2']; ?></td>
			</tr>
			<tr>
				<td><?php echo $entry_postcode; ?></td>
				<td><?php echo $address['postcode']; ?></td>
			</tr>
			<tr>
				<td><?php echo $entry_country; ?></td>
				<td><?php echo $address['country']; ?></td>
			</tr>
			<tr>
				<td><?php echo $entry_city; ?></td>
				<td><?php echo $address['city']; ?></td>
			</tr>
			<tr>
				<td><?php echo $entry_district; ?></td>
				<td><?php echo $address['district_name']; ?></td>
			</tr>
			<tr>
				<td colspan="2" style="text-align: right;"><a
					href="<?php echo $address['update']; ?>" class="button"><span><?php echo $button_edit; ?>
					</span> </a> &nbsp; <a href="<?php echo $address['delete']; ?>"
					class="button"><span><?php echo $button_delete; ?> </span> </a></td>
			</tr>
		</table>
	</div>
	<?php } ?>
	<div class="buttons">
		<div class="left">
			<a href="<?php echo $back; ?>" class="button"><span><?php echo $button_back; ?>
			</span> </a>
		</div>
		<div class="right">
			<a href="<?php echo $insert; ?>" class="button"><span><?php echo $button_new_address; ?>
			</span> </a>
		</div>
	</div>
	<?php echo $content_bottom; ?>
</div>
<?php echo $footer; ?>